import { Router } from 'express'
const router = Router()
import { createProjectEmployeeLink, getProjectEmployeeLinks, updateProjectEmployeeLinks, deleteProjectEmployeeLink } from '../controllers/projectEmployeeLinks'
import { createEmployeeValidator, deleteEmployeeValidator, updateEmployeeValidator } from '../middlewares/validation'


// router.get('/', getEmployees)
// router.post('/', createEmployeeValidator, createEmployee)
// router.put('/:employeeId', updateEmployeeValidator, updateEmployee)
// router.delete('/:employeeId', deleteEmployeeValidator, deleteEmployee)
// todo: нужно будет доиграться с валидацией
router.get('/', getProjectEmployeeLinks)
router.post('/', createProjectEmployeeLink)
router.put('/:linkId', updateProjectEmployeeLinks)
router.delete('/:linkId', deleteProjectEmployeeLink)

export default router
